package KS;

import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.ImageIcon;
public class Web {




        private JFrame frame;

        /**
         * Launch the application.
         *
         */

        public static void main(String[] args){
            EventQueue.invokeLater(new Runnable() {
                public void run() {
                    try {
                        Web window = new Web();
                        window.frame.setVisible(true);
                    } catch (Exception e) {
                        e.printStackTrace();
                    }
                }
            });
        }

        /**
         * Create the application. C:\\Users\\lenovo\\Desktop\\QQ图片20211221105947.png
         */
        public Web() {
            initialize();
        }

        /**
         * Initialize the contents of the frame.
         */




    private void initialize() {
        frame = new JFrame();
        frame.setTitle("城市地图");
        frame.setBounds(100, 100, 1077, 568);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.getContentPane().setLayout(null);

        JLabel lblNewLabel = new JLabel("New label");
        lblNewLabel.setBounds(0, -78, 1132, 695);
        lblNewLabel.setIcon(new ImageIcon("C:\\Users\\li5201\\IdeaProjects\\project\\01\\src\\KS\\02.png"));
        frame.getContentPane().add(lblNewLabel);
    }

    }


